<?php
class ContactUs_Model extends CI_Model 
{
    function __construct()
    {
        parent::__construct();
    }
	
	function add_contact_us($data)
	{
		foreach ($data as $key => $value)
        {
            $data[$key] = htmlentities($value);
        }
		
        return $this->db->insert('contact_us', $data);

	}
}

/* End of file Article_Model */
/* Location: ./application/model/Article_Model.php */